package lab02.Test05;

/**
 * Created by Administrator on 2017/10/15.
 */
public class Cube{

        //属性：长，宽，高
        float length=4;
    float width=5;
    float heigh=7;
        //行为：体积
      public   float volume(){return length*width*heigh;}

        public static void main(String[] args) {
            Cube cube1=new Cube();
            System.out.println("This cube is volume is:"  +cube1.volume());
        }
}
